package com.example.mydesignmodule.factory;

/**
 * @author tgw
 * @date 2021/2/26
 * @describe
 */
public class BenCiCar extends Car {


    @Override
    protected void name() {
        System.out.println("奔驰车");

    }

    @Override
    protected CarType carType() {
        return CarFactory.createdCarType(GuochanType.class);
    }
}
